﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{sdcms[seokey]}" />
<meta name="Description" content="{sdcms[seodesc]}" />
<title>RSS订阅中心_{sdcms[webname]} - powered by sdcms</title>
<link href="{webroot}lib/css/base.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="{webroot}theme/default/css/artlist.css" rel="stylesheet" type="text/css" />
<script>var webroot="{webroot}";</script>
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
<script src="{webroot}lib/js/mobile.js"></script>
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
</head>

<body>
    {sdcms:include("sdcms_head.asp")}
    
    <div id="position">您所在的位置：<a href="{webroot}">首页</a> > RSS订阅中心</div>
    <div class="w980 mt10 mc" id="container">
        <div class="left">
            {sdcms:rp table="sd_category" top="0" where="followid=0 and modeid>0" order="ordnum,cateid" var="sdcms_dim:sonid" auto="j"}
            <div class="b{if j>1} mt10{/if} w670">
                <div class="subject"><span><a href="?id={$rp[cateid]}" target="_blank"><img src="{webroot}theme/default/images/rss.gif" style="vertical-align:middle;margin:7px 0 0 0;" title="点击订阅"/></a></span>{$rp[catename]}</div>
                <div class="p10">
                     <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and classid in([sdcms_dim])" order="ontop desc,id desc"}
                        <li><span>{sdcms.getdate($rs[createdate],"-",1)}</span><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],70,1)}</a></li>
                    {/sdcms:rs}
                    </ul>
                </div>
            </div>
            {/sdcms:rp}
        </div>
        <div class="right">
            <div class="b">
                <div class="subject">热评话题</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1 and comments>0" order="comments desc,id desc"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="comment.asp?id={$rs[id]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}   
                </ul>
            </div>
            
            <div class="b mt10">
                <div class="subject">随机推荐</div>
                <ul class="toplist">
                    {sdcms:rs top="10" field="id,title,style,createdate,isurl,url,classid" table="sd_content" where="islock=1" order="rnd"}
                    {rs:eof}<li>没有资料</li>{/rs:eof}
                    <li><a href="{$rs[link]}" title="{$rs[title]}"{if $rs[isurl]=1} target="_blank"{/if} {$rs[style]}>{sdcms.cutstr($rs[title],30,1)}</a></li>
                    {/sdcms:rs}   
                </ul>
            </div>
            
        </div>
    </div>
    {sdcms:include("sdcms_foot.asp")}